# -*- coding: utf-8 -*-
class LoanDeliveryHx < ActiveRecord::Base
  has_many :loan_delivery_hx_details ,:dependent => :destroy  #级联删除子表
  
  belongs_to :warehouse
  belongs_to :employee
  belongs_to :department
  belongs_to :company
  belongs_to :customer
  belongs_to :loan_delivery
  
end
